package model;

public class Square extends FieldObject {

	private Line leftLine, rightLine, upperLine, downLine;

	private Player owner; // I am not sure this is needed

	Square() {

	}

	public void setSurroundingLineReferences(Line leftLine, Line rightLine,
			Line upperLine, Line downLine) {
		this.leftLine = leftLine;
		this.rightLine = rightLine;
		this.upperLine = upperLine;
		this.downLine = downLine;
	}

	public boolean isComplete() {
		if (this.leftLine.isPressed() && this.rightLine.isPressed()
				&& this.upperLine.isPressed() && this.downLine.isPressed()) {
			return true;
		} else {
			return false;
		}
	}
}
